{extend name="public:base" /}
{block name="head"}
<link href="__PUBLIC__/view_res/mobile/css/uc.css" type="text/css" rel="Stylesheet" />
<link href="__PUBLIC__/view_res/mobile/css/productlist.css" type="text/css" rel="Stylesheet" />
        
<script src="__PUBLIC__/artTemplate/template.js"></script>
<script src="__PUBLIC__/view_res/mobile/load_list.js"></script>
<script src="__PUBLIC__/view_res/mobile/index.js"></script>
<style>
	.prices{text-align: center;}
</style>
{/block} 
{block name="header"}
{include file="public/top-nav" /}
{/block}

{block name="content"}
<div id="likes_list" class="clearfix">
	<div class="clearfix pdBlock"  id="likes_list_box">
	</div>
</div>
<div id="list-loading" style="display: none;"><img src="__PUBLIC__/view_res/mobile/images/icon/spinner-g-60.png" width="30"></div>

<script id="list" type="text/html">
    	<@each list as value i@>	        
	        <section class="productListWrap hoz">
                <a class="productList clearfix" href='/mobile/points/detail/id/<@value.goods_id@>'>
                    <img class="photo" src="/<@value.image@>" />           
                    <section>
                        <title class="title"><@value.name@></title>
                        <span class='prices'>银豆:<@value.price@></span>
                    </section>
                </a>
            </section>	        
        <@/each@>
</script>
{/block}


{block name="script"}
<script>
$(function(){
scroll_load('mobile/points/ajax_goods_list','list','likes_list_box');
});
</script>
{/block}